﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" MasterPageFile="~/Base.Master"
    Inherits="VideoNetApplication._Default" %>
<%@ Import Namespace="VideoNetApplication.Common.Helper" %>

<asp:Content ContentPlaceHolderID="BasePlaceHolder" ID="Content" runat="server">

  

    <div class="banner">
        <div class="banner_main">
            <a href="javascript:">
                <img src="<%=PictureServerName %>/images/<%=SchoolId %>/banner.jpg" /></a></div>
    </div>
    <div class="main">
    
        <div class="index_left index_news">
            <div class="item">
                <h3>
                    <strong>学校新闻</strong><span><a href="ViewNewsListHtml.aspx?schoolId=<%=SchoolId %>" target="_blank">更多</a></span></h3>
                    <asp:Literal ID="ltrNews" runat="server"></asp:Literal>
            </div>
        </div>
        <div class="index_left index_zsjz">
            <div class="item">
                <h3>
                    <strong>招生简章</strong><span><a href="ViewRecruitListHtml.aspx?schoolId=<%=SchoolId %>" target="_blank">更多</a></span></h3>
                <ul class="news_list">
                <asp:Repeater ID="repRecruit" runat="server">
                <ItemTemplate>
                <li><a href="ViewRecruitDetail.aspx?nid=<%#Eval("id")%>&schoolId=<%=SchoolId %>"><%#StringUtils.getLimitLengthString((Eval("RecruitTitle")).ToString(), 40,"")%></a>&nbsp;&nbsp;&nbsp;&nbsp;<%# DateTime.Parse(Eval("CreateTime").ToString()).ToString("yyyy-MM-dd")%></li>
                </ItemTemplate>
                </asp:Repeater>
                 </ul>
            </div>
        </div>
        <div class="index_right login">
           
          <VideoNet:UserLogin  id="Ulogin" runat="server"></VideoNet:UserLogin>
            
        </div>
        <div class="index_left index_about">
            <div class="item">
                <h3>
                    <strong>学校简介</strong><span><a href="ViewRecruitListHtml.aspx?schoolId=<%=SchoolId %>" target="_blank">更多</a></span></h3>
                <div class="index_about_c">
                    <a href="ViewRecruitListHtml.aspx?schoolId=<%=SchoolId %>" class="index_about_pic" target="_blank">
                     <img src="<%=SchoolImg %>" width="120" height="150"/></a>
                    <p>
                       <asp:Literal ID="ltrInfo" runat="server"></asp:Literal>
                        
                        </p>
                </div>
            </div>
        </div>
        <div class="index_left index_ms">
            <div class="item">
                <h3>
                    <strong>名师风采</strong><span><a href="ViewTeacherListHtml.aspx?schoolId=<%=SchoolId %>" target="_blank">更多</a></span></h3>
                <div class="index_ms_c">
                <asp:Repeater ID="repTeacher" runat="server">
                <ItemTemplate>
                  <div class="news_hun">
                        <a class="pic">
                            <img src="<%# Eval("VT_Image")==null?"Images/nopic.gif":PictureServerName+Eval("VT_Image")%>" width="65" height="70" /></a>
                        <h4>
                            <a href="ViewTeacherDetail.aspx?nid=<%#Eval("id") %>&schoolId=<%=SchoolId %>" target="_blank"><%#Eval("VT_realname")%></a></h4>
                        <p>
                           <%#StringUtils.getLimitLengthString(Eval("VT_desc").ToString(),100,"...") %></p>
                    </div>
                
                </ItemTemplate>
                </asp:Repeater>
                
                  
                    
                </div>
            </div>
        </div>
        <div class="index_right index_kc">
           
          
          <videonet:classcourse  id="ClassCourse" runat="server"></videonet:classcourse>
        </div>
        <div class="clear">
        </div>
    </div>
</asp:Content>
